package com.c7.bm.mybatis.service;

import com.c7.bm.mybatis.model.C7ActivityImages;
import com.c7.bm.mybatis.util.ResponseWrapper;
import com.github.pagehelper.PageInfo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 活动图片接口
 *
 * @author Duke.chen
 * @email chenjunwen@xiaomagouche.com
 * @create 17/4/16
 */
public interface ActivityImagesService extends IService<C7ActivityImages> {

    ResponseWrapper uploadImages(MultipartFile imagePath, Long activityId);

    PageInfo<C7ActivityImages> getActivityImagesList(int page, int rows, Long activityId);

    List<C7ActivityImages> getAllImagesList(Long activityId);

    ResponseWrapper generateImageQr(Long imageId,String linkValue);
}
